package com.example.wod.retrofitdemo.Bean;

/**
 * Created by Wod on 2016/1/18.
 */
public class Certification {

    /**
     * code : SUCCESS
     * info : 获取成功！
     * data : {"realname":2,"bank_card":2,"portrait":1,"nickname":1}
     */

    private String code;
    private String info;
    /**
     * realname : 2
     * bank_card : 2
     * portrait : 1
     * nickname : 1
     */

    private DataEntity data;

    public void setCode(String code) {
        this.code = code;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private int realname;
        private int bank_card;
        private int portrait;
        private int nickname;

        public void setRealname(int realname) {
            this.realname = realname;
        }

        public void setBank_card(int bank_card) {
            this.bank_card = bank_card;
        }

        public void setPortrait(int portrait) {
            this.portrait = portrait;
        }

        public void setNickname(int nickname) {
            this.nickname = nickname;
        }

        public int getRealname() {
            return realname;
        }

        public int getBank_card() {
            return bank_card;
        }

        public int getPortrait() {
            return portrait;
        }

        public int getNickname() {
            return nickname;
        }
    }
}
